﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Domain.Dto
{
    public  class DepartmentDto
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [MaxLength(50)]
        public string? DepartCode { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [MaxLength(30)]
        public string? DepartName { get; set; }

        /// <summary>
        /// 部门状态
        /// </summary>
        public bool DepartState { get; set; }

        /// <summary>
        /// 部门类型
        /// </summary>
        public int DepartTypeId { get; set; }

        /// <summary>
        /// 部门类型名称
        /// </summary>
        public string? DepartTypeName { get; set; }

        /// <summary>
        /// 部门级别
        /// </summary>
        public int DepartRank { get; set; }

        /// <summary>
        /// 部门区域所在地
        /// </summary>
        [StringLength(300)]
        public string? DepartLocation { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public int StaffId { get; set; }

        /// <summary>
        /// 负责人名称
        /// </summary>
        public string? StaffName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}
